﻿using System.Web.Mvc;

namespace HotelManageSystem.Controllers
{
    public class ProductReportController : Controller
    {
        //
        // GET: /ProductReport/

        public ActionResult Index()
        {
            ViewData["Report"] = new Reports.XtraReport1();
            return View();
        }
        public ActionResult ReportViewerPartial()
        {
            ViewData["Report"] = new Reports.XtraReport1();
            return PartialView("ReportViewerPartial");
        }

        public ActionResult ExportReportViewer()
        {
            return DevExpress.Web.Mvc.ReportViewerExtension.ExportTo(new Reports.XtraReport1());
        }
    }
}
